﻿namespace Bilibili.Model.Rank
{
    public sealed class RankItemModel
    {
        public string rank { get; set; }
        public string aid { get; set; }
        public string videos { get; set; }
        public string tid { get; set; }
        public string tname { get; set; }
        public string copyright { get; set; }
        private string _pic;
        public string pic
        {
            get { return _pic + "@500w.jpg"; }
            set { _pic = value; }
        }
        public string title { get; set; }
        public string pubdate { get; set; }
        public string ctime { get; set; }
        public string desc { get; set; }
        public string state { get; set; }
        public string duration { get; set; }
        public string mission_id { get; set; }
        public RankItemOwnerModel owner { get; set; }
        public RankItemStatModel stat { get; set; }
        public string dynamic { get; set; }
        public string cid { get; set; }
        public string bvid { get; set; }
        public string score { get; set; }
    }
    public class RankItemStatModel
    {
        public string aid { get; set; }
        public string view { get; set; }
        public string danmaku { get; set; }
        public string reply { get; set; }
        public string favorite { get; set; }
        public string coin { get; set; }
        public string share { get; set; }
    }
    public class RankItemOwnerModel
    {
        public string mid { get; set; }
        public string name { get; set; }
        public string face { get; set; }
    }
}